NumPy
Array creation routines
numpy.diagflat()
numpy.empty()
numpy.tri()
Array manipulation routines
numpy.copyto()
numpy.dsplit()
numpy.split()
Array objects
ma.MaskedArray.__copy__()
ma.MaskedArray.__float__()
ma.MaskedArray.__getitem__()
ma.MaskedArray.__iand__()
ma.MaskedArray.__irshift__()
ma.MaskedArray.__le__()
ma.MaskedArray.__lshift__()
ma.MaskedArray.__mod__()
ma.MaskedArray.__rand__()
ma.MaskedArray.__rdivmod__()
ma.MaskedArray.__rsub__()
ma.MaskedArray.__setitem__()
ma.MaskedArray.ids()
static ma.MaskedArray.__new__()
Constants
numpy.euler_gamma
numpy.nan
CPU/SIMD Optimizations
How does the CPU dispatcher work?
Data type objects
dtype.base
Data type routines
numpy.min_scalar_type()
numpy.obj2sctype()
Discrete Fourier Transform
fft.fft()
fft.ifftshift()
fft.rfft()
F2PY user guide and reference manual
Advanced F2PY use cases
Indexing routines
flatiter.base
nditer.remove_multi_index()
nditer.reset()
numpy.flatiter
numpy.lib.Arrayterator()
numpy.select()
numpy.take_along_axis()
numpy.unravel_index()
property lib.Arrayterator.shape
Input and output
Input and output
lib.format.header_data_from_array_1_0()
lib.format.write_array_header_2_0()
numpy.genfromtxt()
Linear algebra
linalg.matrix_rank()
linalg.multi_dot()
linalg.slogdet()
numpy.einsum()
Logic functions
numpy.iscomplexobj()
Masked array operations
ma.MaskedArray.flatten()
ma.MaskedArray.harden_mask()
ma.MaskedArray.round()
ma.MaskedArray.transpose()
ma.count_masked()
ma.filled()
ma.indices()
ma.innerproduct()
ma.make_mask()
ma.mask_or()
ma.masked_inside()
ma.minimum_fill_value()
ma.ndenumerate()
ma.transpose()
Mathematical functions
numpy.arcsin()
numpy.diff()
numpy.fix()
numpy.gcd()
numpy.gradient()
numpy.i0()
numpy.log2()
numpy.radians()
numpy.real()
numpy.rint()
numpy.sinh()
numpy.sqrt()
numpy.subtract()
numpy.tanh()
numpy.true_divide()
Mathematical functions with automatic domain
emath.power()
Matrix library
matlib.identity()
matlib.rand()
Miscellaneous routines
numpy.deprecate_with_doc()
NumPy and SWIG
NumPy C-API
NPY_ARRAY_F_CONTIGUOUS
NPY_ARRAY_IN_ARRAY
NPY_ARRAY_WRITEBACKIFCOPY
NPY_IGNORE
NPY_ITER_BUFFERED
NPY_ITER_MULTI_INDEX
NPY_LOOP_END_THREADS
NPY_MIN_BUFSIZE
NPY_SIGINT_ON
NPY_SIZEOF_LONGLONG
NPY_SIZEOF_SHORT
NPY_UINTP_FMT
NPY_USE_SETITEM
NpyIter_GetMultiIndexFunc *NpyIter_GetGetMultiIndex()
PyArray_CGT()
PyArray_Descr *PyArray_ResultType()
PyObject *PyArray_All()
PyObject *PyArray_Any()
PyObject *PyArray_ArgPartition()
PyObject *PyArray_BroadcastToShape()
PyObject *PyArray_Clip()
PyObject *PyArray_ContiguousFromAny()
PyObject *PyArray_EMPTY()
PyObject *PyArray_Where()
UFUNC_MASK_OVERFLOW
UFUNC_SHIFT_DIVIDEBYZERO
char **NpyIter_GetDataPtrArray()
char *data
enum NPY_CLIPMODE
enum NPY_SELECTKIND
enumerator NPY_BOOL
enumerator NPY_FLOAT64
enumerator NPY_HEAPSORT
enumerator NPY_INTP
enumerator NPY_TIMEDELTA
int NpyIter_Deallocate()
int PyArray_Free()
int PyArray_ISONESEGMENT()
int PyArray_IntpConverter()
int PyArray_IsPythonNumber()
int PyArray_XDECREF()
int PyDataType_ISINTEGER()
int PyDataType_ISNUMBER()
int PyTypeNum_ISEXTENDED()
int PyUFunc_RegisterLoopForType()
int Pyarray_DescrAlignConverter2()
int core_enabled
int identity
int itemsize
npy_bool PyArray_EquivTypenums()
npy_intp *PyArray_DIMS()
npy_intp PyArray_MultiplyList()
npy_intp PyArray_SIZE()
npy_uint32 *core_dim_flags
npy_uint32 iter_flags
type NpyIter_GetMultiIndexFunc
type npy_double
type npy_longlong
void PyArray_ENABLEFLAGS()
void PyArray_ITER_RESET()
void PyArray_MapIterNext()
void PyArray_MultiIter_GOTO()
void PyArray_UpdateFlags()
void PyDimMem_FREE()
void PyUFunc_DD_D()
void PyUFunc_f_f()
numpy.distutils.ccompiler
distutils.ccompiler.CCompiler_compile()
distutils.ccompiler.CCompiler_find_executables()
Packaging
distutils.ccompiler_opt.CCompilerOpt.conf_features_partial()
distutils.ccompiler_opt.new_ccompiler_opt()
distutils.exec_command.exec_command()
distutils.exec_command.filepath_from_subprocess_output()
numpy.distutils.misc_util.allpath()
numpy.distutils.misc_util.exec_mod_from_location()
numpy.distutils.misc_util.get_build_architecture()
numpy.distutils.misc_util.get_frame()
numpy.distutils.misc_util.get_numpy_include_dirs()
numpy.distutils.misc_util.has_f_sources()
numpy.distutils.misc_util.njoin()
static distutils.ccompiler_opt.CCompilerOpt.me()
Polynomials
numpy.poly()
polynomial.chebyshev.Chebyshev.mapparms()
polynomial.chebyshev.Chebyshev.trim()
polynomial.chebyshev.chebinterpolate()
polynomial.chebyshev.chebval2d()
polynomial.hermite.Hermite.cast()
polynomial.hermite.hermgauss()
polynomial.hermite.hermgrid2d()
polynomial.hermite.hermpow()
polynomial.hermite.hermroots()
polynomial.hermite_e.HermiteE.integ()
polynomial.hermite_e.hermeval3d()
polynomial.hermite_e.hermeweight()
polynomial.laguerre.Laguerre.deriv()
polynomial.laguerre.Laguerre.truncate()
polynomial.laguerre.lagmul()
polynomial.laguerre.lagone
polynomial.laguerre.lagx
polynomial.laguerre.poly2lag()
polynomial.legendre.Legendre.fromroots()
polynomial.legendre.Legendre.linspace()
polynomial.legendre.leggrid2d()
polynomial.legendre.legtrim()
polynomial.legendre.legzero
polynomial.polynomial.Polynomial.degree()
polynomial.polynomial.Polynomial.deriv()
polynomial.polynomial.Polynomial.fit()
polynomial.polynomial.Polynomial.identity()
polynomial.polynomial.polyfromroots()
polynomial.polynomial.polyval2d()
polynomial.polynomial.polyvander3d()
polynomial.polynomial.polyzero
polynomial.set_default_printstyle()
property poly1d.coeffs
Random sampling
Bit Generators
float random_gamma_f()
npy_int64 random_geometric_search()
numpy.random.PCG64DXSM()
random.BitGenerator.cffi
random.Generator.noncentral_chisquare()
random.Generator.shuffle()
random.Generator.triangular()
random.MT19937.jumped()
random.RandomState.permutation()
random.RandomState.randn()
random.RandomState.standard_exponential()
random.RandomState.standard_normal()
random.beta()
random.gumbel()
random.lognormal()
random.logseries()
random.noncentral_f()
random.poisson()
random.triangular()
Release notes
Release notes
Routines
numpy.bartlett()
vectorize.__call__()
Scalars
generic.__array_priority__
number.__class_getitem__()
numpy.int32
numpy.int64
numpy.intc
numpy.number
numpy.str_
numpy.ulonglong
Set routines
numpy.setxor1d()
numpy.union1d()
Sorting, searching, and counting
numpy.argmax()
numpy.nonzero()
numpy.sort()
Standard array subclasses
chararray.islower()
chararray.isspace()
chararray.startswith()
class.__array_function__()
matrix.choose()
matrix.copy()
matrix.item()
matrix.mean()
matrix.min()
recarray.argmax()
recarray.astype()
recarray.byteswap()
recarray.dump()
recarray.mean()
recarray.ndim
recarray.nonzero()
recarray.prod()
recarray.setflags()
recarray.strides
recarray.transpose()
record.argmin()
record.resize()
record.sum()
record.take()
record.trace()
record.var()
Statistics
Statistics
numpy.mean()
numpy.ptp()
numpy.std()
String operations
char.asarray()
char.chararray.endswith()
char.chararray.find()
char.chararray.flat
char.chararray.sort()
char.chararray.split()
char.chararray.strip()
char.chararray.take()
char.compare_chararrays()
char.not_equal()
char.swapcase()
char.upper()
Test Support
testing.assert_warns()
testing.dec.setastest()
The N-dimensional array
ndarray.__getitem__()
ndarray.__str__()
ndarray.byteswap()
ndarray.compress()
ndarray.conjugate()
ndarray.dump()
ndarray.var()
numpy.ndarray()
Universal functions
ufunc.reduceat()
User Guide
Miscellaneous
int PyModule_AddStringConstant()
numpy.lib.recfunctions.join_by()
numpy.lib.recfunctions.rec_append_fields()